package com.pp.service.impl;

import com.pp.common.pojo.Location;
import com.pp.mapper.LocationMapper;
import com.pp.service.LocationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LocationServiceImpl implements LocationService {

    @Autowired
    private LocationMapper locationMapper;
    @Override
    public String selectUserAddress(Integer id) {
        String address = locationMapper.selectUserAddress(id);
        return address;
    }
}
